package com.lzw.service.impl.student;

import com.lzw.mapper.student.RRM;
import com.lzw.pojo.RepairRequest;
import com.lzw.service.student.RRS;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class RRSI implements RRS {

    @Autowired
    private RRM rrm;

    @Override
    public void add(RepairRequest repairRequest) {
        rrm.add(repairRequest);
    }

    @Override
    public List<RepairRequest> get(String student) {
        return rrm.get(student);
    }
}
